package top.liuzhenyu.springboot3.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serial;
import java.io.Serializable;

@Component
@Data
@ConfigurationProperties(prefix = "redis-info")
public class RedisConfigInfo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private String host;
    private int port;
    private String password;
    private int database;


}
